class FousModel {
  List<FousItemModel> _result;

  FousModel({List<FousItemModel> result}) {
    this._result = result;
  }

  List<FousItemModel> get result => _result;
  set result(List<FousItemModel> result) => _result = result;

  FousModel.fromJson(Map<String, dynamic> json) {
    if (json['result'] != null) {
      _result = new List<FousItemModel>();
      json['result'].forEach((v) {
        _result.add(new FousItemModel.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this._result != null) {
      data['result'] = this._result.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class FousItemModel {
  String _sId;
  String _title;
  String _status;
  String _pic;
  String _url;

  FousItemModel({String sId, String title, String status, String pic, String url}) {
    this._sId = sId;
    this._title = title;
    this._status = status;
    this._pic = pic;
    this._url = url;
  }

  String get sId => _sId;
  set sId(String sId) => _sId = sId;
  String get title => _title;
  set title(String title) => _title = title;
  String get status => _status;
  set status(String status) => _status = status;
  String get pic => _pic;
  set pic(String pic) => _pic = pic;
  String get url => _url;
  set url(String url) => _url = url;

  FousItemModel.fromJson(Map<String, dynamic> json) {
    _sId = json['_id'];
    _title = json['title'];
    _status = json['status'];
    _pic = json['pic'];
    _url = json['url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['_id'] = this._sId;
    data['title'] = this._title;
    data['status'] = this._status;
    data['pic'] = this._pic;
    data['url'] = this._url;
    return data;
  }
}